using MediatR;
using SumerCoreDevOps.Domain.Entities;

namespace SumerCoreDevOps.Application.Users.Commands;

/// <summary>
/// 创建用户命令
/// </summary>
public record CreateUserCommand(
    string Username,
    string Email,
    string Password,
    string? DisplayName = null,
    string? PhoneNumber = null,
    string? CreatedBy = null
) : IRequest<User>;
